package org.csmzxy.class233;

public class ThreadDemo {
    public static void main(String[] args){
        //创建账户对象
        Account acc = new Account("ICBC-111", 100000);
        //创建两个线程对象,代表小明和小红同时进行取钱操作
        new DrawThread(acc, "小明").start();
        new DrawThread(acc, "小红").start();
    }
}